### searilizer
from rest_framework.serializers import ModelSerializer

from demoapp.models import DemoTable


class DemoSerializer(ModelSerializer):
    class Meta:
        model = DemoTable
        fields = '__all__'